package main

//project:maya-service
type GameLevel struct {
	Id                 int64  `rule:"Parameter;Required"`
	Desc               string `rule:"Parameter"`
	Weight             int    `rule:"Parameter"`
	Type               int    `rule:"Parameter"`
	ParentId           int64  `rule:"Parameter"`
	QuestionCount      int64  `rule:"Parameter"`
	EssayQuestionCount int64  `rule:"Parameter"`
	Threshold          int    `rule:"Parameter"`
	StarZone           string `rule:"Parameter"`
	Image              string `rule:"Parameter"`
	CreatedAt          int64  `rule:"Parameter"`
	UpdatedAt          int64  `rule:"Parameter"`
}

//project:maya-service
type Question struct {
	Id        int64  `rule:"Parameter;Required"`
	Title     string `rule:"Parameter"`
	Type      int    `rule:"Parameter"`
	Image     string `rule:"Parameter"`
	AnswerId  int64  `rule:"Parameter"`
	LevelId   int64  `rule:"Parameter"`
	CreatedAt int64  `rule:"Parameter"`
	UpdatedAt int64  `rule:"Parameter"`
}

//project:maya-service
type Option struct {
	Id        int64  `rule:"Parameter;Required"`
	TitleId   int64  `rule:"Parameter"`
	Image     string `rule:"Parameter"`
	Desc      string `rule:"Parameter"`
	CreatedAt int64  `rule:"Parameter"`
	UpdatedAt int64  `rule:"Parameter"`
}

//project:maya-service
type UserRecord struct {
	Id         int64  `rule:"Parameter;Required"`
	UserId     int64  `rule:"Parameter"`
	CustomData string `rule:"Parameter"`
	UnlockNum  int    `rule:"Parameter"`
	CreatedAt  int64  `rule:"Parameter"`
	UpdatedAt  int64  `rule:"Parameter"`
}

//project:maya-service
type AnswerRecord struct {
	Id          int64  `rule:"Parameter;Required"`
	UserId      int64  `rule:"Parameter"`
	Difficulty  int    `rule:"Parameter"`
	FirstLevel  int    `rule:"Parameter"`
	SecondLevel int    `rule:"Parameter"`
	Desc        string `rule:"Parameter"`
	AnswerValue string `rule:"Parameter"`
	CorrectNum  int    `rule:"Parameter"`
	Total       int    `rule:"Parameter"`
	Star        int    `rule:"Parameter"`
	CreatedAt   int64  `rule:"Parameter"`
	UpdatedAt   int64  `rule:"Parameter"`
}

//project:maya-service
type SysUsers struct {
	Id          int64  `rule:"Parameter;Required"`
	Uuid        string `rule:"Parameter"`
	Username    string `rule:"Parameter"`
	Password    string `rule:"Parameter"`
	NickName    string `rule:"Parameter"`
	SideMode    string `rule:"Parameter"`
	HeaderImg   string `rule:"Parameter"`
	BaseColor   string `rule:"Parameter"`
	ActiveColor string `rule:"Parameter"`
	AuthorityId int64  `rule:"Parameter"`
	Phone       string `rule:"Parameter"`
	Email       string `rule:"Parameter"`
	Enable      int    `rule:"Parameter"`
	CreatedAt   int64  `rule:"Parameter"`
	UpdatedAt   int64  `rule:"Parameter"`
	DeletedAt   int64  `rule:"Parameter"`
}

//project:maya-service
type QuanxiQuestion struct {
	Id        int64  `rule:"Parameter;Required"`
	UserId    string `rule:"Parameter"`
	Question  string `rule:"Parameter"`
	Options   string `rule:"Parameter"`
	Type      int    `rule:"Parameter"`
	CreatedAt int64  `rule:"Parameter"`
	UpdatedAt int64  `rule:"Parameter"`
}

//project:maya-service
type QuanxiRecord struct {
	Id         int64  `rule:"Parameter;Required"`
	UserId     string `rule:"Parameter"`
	Status     int    `rule:"Parameter"`
	AnswerName string `rule:"Parameter"`
	Select     int    `rule:"Parameter"`
	QuestionId int64  `rule:"Parameter"`
	CreatedAt  int64  `rule:"Parameter"`
	UpdatedAt  int64  `rule:"Parameter"`
}

//project:maya-service
type DictionaryType struct {
	Id          int64  `rule:"Parameter;Required"`
	Code        string `rule:"Parameter"`
	Name        string `rule:"Parameter"`
	Status      int    `rule:"Parameter"`
	Description string `rule:"Parameter"`
	CreatedAt   int64  `rule:"Parameter"`
	UpdatedAt   int64  `rule:"Parameter"`
}

//project:maya-service
type DictionaryItem struct {
	Id          int64  `rule:"Parameter;Required"`
	Code        string `rule:"Parameter"`
	Key         string `rule:"Parameter"`
	Value       string `rule:"Parameter"`
	Status      int    `rule:"Parameter"`
	SortOrder   int    `rule:"Parameter"`
	Description string `rule:"Parameter"`
	CreatedAt   int64  `rule:"Parameter"`
	UpdatedAt   int64  `rule:"Parameter"`
}

//project:maya-service
type AiConsult struct {
	Id               int64  `rule:"Parameter;Required"`
	UserId           string `rule:"Parameter"`
	Level            int    `rule:"Parameter"`
	Module           int    `rule:"Parameter"`
	Content          string `rule:"Parameter"`
	ExtraContent     string `rule:"Parameter"`
	UserFlag         int    `rule:"Parameter"`
	LeaveMessage     string `rule:"Parameter"`
	LeaveMessageRsp  string `rule:"Parameter"`
	LeaveMessageFlag string `rule:"Parameter"`
	Scores           int    `rule:"Parameter"`
	EvalTime         int64  `rule:"Parameter"`
	SupervisorId     string `rule:"Parameter"`
	SupervisorName   string `rule:"Parameter"`
	EvalContent      string `rule:"Parameter"`
	CreatedAt        int64  `rule:"Parameter"`
	UpdatedAt        int64  `rule:"Parameter"`
}

//project:maya-service
type AiQuestion struct {
	Id        int64  `rule:"Parameter;Required"`
	Topic     string `rule:"Parameter"`
	Content   string `rule:"Parameter"`
	Level     int    `rule:"Parameter"`
	Module    int    `rule:"Parameter"`
	CreatedAt int64  `rule:"Parameter"`
	UpdatedAt int64  `rule:"Parameter"`
}

//project:maya-service
type GuideIcon struct {
	Id          int64  `rule:"Parameter;Required"`
	ConfigKey   string `rule:"Parameter"`
	Label       string `rule:"Parameter"`
	ConfigValue string `rule:"Parameter"`
	Action      string `rule:"Parameter"`
	TagMenu     string `rule:"Parameter"`
	SmallIcon   string `rule:"Parameter"`
	BigIcon     string `rule:"Parameter"`
	Tag         int    `rule:"Parameter"`
	Sort        int    `rule:"Parameter"`
	CreatedAt   int64  `rule:"Parameter"`
	UpdatedAt   int64  `rule:"Parameter"`
}

//project:maya-service
type AiModule struct {
	Id        int64  `rule:"Parameter;Required"`
	Name      string `rule:"Parameter"`
	Images    string `rule:"Parameter"`
	CreatedAt int64  `rule:"Parameter"`
	UpdatedAt int64  `rule:"Parameter"`
}

//project:maya-service
type AiConsultStatics struct {
	Id         int64  `rule:"Parameter;Required"`
	UserId     string `rule:"Parameter"`
	Level      int    `rule:"Parameter"`
	Module     int    `rule:"Parameter"`
	Count      int    `rule:"Parameter"`
	TotalScore int64  `rule:"Parameter"`
	MaxScore   int64  `rule:"Parameter"`
	MinScore   int64  `rule:"Parameter"`
	CreatedAt  int64  `rule:"Parameter"`
	UpdatedAt  int64  `rule:"Parameter"`
}

//project:maya-service
type SupervisorOrder struct {
	Id           int64   `rule:"Parameter;Required"`
	ConsultId    int64   `rule:"Parameter"`
	Price        float64 `rule:"Parameter"`
	DeductCount  float64 `rule:"Parameter"`
	DeductReason string  `rule:"Parameter"`
	CreatedAt    int64   `rule:"Parameter"`
	UpdatedAt    int64   `rule:"Parameter"`
}

//project:maya-service
type SupervisorWithDraw struct {
	Id             int64   `rule:"Parameter;Required"`
	SupervisorId   string  `rule:"Parameter"`
	SupervisorName string  `rule:"Parameter"`
	ItemList       string  `rule:"Parameter"`
	OrderCount     int     `rule:"Parameter"`
	TotalAmount    float64 `rule:"Parameter"`
	DeductAmount   float64 `rule:"Parameter"`
	Status         int     `rule:"Parameter"`
	CreatedAt      int64   `rule:"Parameter"`
	UpdatedAt      int64   `rule:"Parameter"`
}

//project:maya-service
type SupervisorWithDrawTrans struct {
	Id                   int64   `rule:"Parameter;Required"`
	SupervisorWithDrawId int64   `rule:"Parameter"`
	TotalAmount          float64 `rule:"Parameter"`
	Status               int     `rule:"Parameter"`
	CreatedAt            int64   `rule:"Parameter"`
	UpdatedAt            int64   `rule:"Parameter"`
}

//project:maya-service
type AiQuestionConsultStatics struct {
	Id            int64   `rule:"Parameter;Required"`
	QuestionId    int64   `rule:"Parameter"`
	QuestionTopic string  `rule:"Parameter"`
	Questioner    string  `rule:"Parameter"`
	Avg           float64 `rule:"Parameter"`
	Count         int     `rule:"Parameter"`
	RankType      int     `rule:"Parameter"`
	CreatedAt     int64   `rule:"Parameter"`
	UpdatedAt     int64   `rule:"Parameter"`
}

//project:maya-service
type Order struct {
	Id              uint64  `rule:"Parameter;Required"`
	OrderId         string  `rule:"Parameter"`
	CustomerId      uint64  `rule:"Parameter"`
	OrderDate       int64   `rule:"Parameter"`
	OrderStatus     int     `rule:"Parameter"`
	TotalAmount     float64 `rule:"Parameter"`
	PaymentMethod   string  `rule:"Parameter"`
	ShippingAddress string  `rule:"Parameter"`
	Remarks         string  `rule:"Parameter"`
	CreatedAt       int64   `rule:"Parameter"`
	UpdatedAt       int64   `rule:"Parameter"`
}

//project:maya-service
type OrderGrab struct {
	Id        uint64 `rule:"Parameter;Required"`
	OrderId   string `rule:"Parameter"`
	UserId    uint64 `rule:"Parameter"`
	GrabTime  int64  `rule:"Parameter"`
	Status    int    `rule:"Parameter"`
	CreatedAt int64  `rule:"Parameter"`
	UpdatedAt int64  `rule:"Parameter"`
}

//project:maya-service
type Product struct {
	Id           int64   `rule:"Parameter;Required"`
	Name         string  `rule:"Parameter"`
	CategoryId   int64   `rule:"Parameter"`
	ProductType  int     `rule:"Parameter"`
	Description  string  `rule:"Parameter"`
	Price        float64 `rule:"Parameter"`
	Stock        int     `rule:"Parameter"`
	Status       string  `rule:"Parameter"`
	ImageURL     string  `rule:"Parameter"`
	ExtraContext string  `rule:"Parameter"`
	CreatedAt    int64   `rule:"Parameter"`
	UpdatedAt    int64   `rule:"Parameter"`
}

type GoodsCollector struct {
	Id           int64   `rule:"Parameter;Required"`
	ThirdGoodsId int64   `rule:"Parameter"`
	ImageURLList string  `rule:"Parameter"`
	GoodsDetail  string  `rule:"Parameter"`
	GoodsPrice   float64 `rule:"Parameter"`
	GoodsStock   int     `rule:"Parameter"`
	GoodsState   int     `rule:"Parameter"`
	CreatedAt    int64   `rule:"Parameter"`
	UpdatedAt    int64   `rule:"Parameter"`
}
